<%@ taglib prefix="s" uri="/struts-tags"%>

<script type="text/javascript">
<!--
$(document).ready(function() {
	$('.controller a[name="info-edit"]').bind('click', {action: 'profile-info-edit',result: '.css-panes div'}, hyperLink);

	/* float controller */
	$('.float-container').hover(
		function () {
			$('.controller', this).show();
		},
		function () {
			$('.controller', this).hide();
		}
	);
});
//-->
</script>

<div class="float-container">
<div class="controller">
	<a name="info-edit" href="#"><s:text name="label.edit"/></a>
</div>
<p>
	<span class="label"><s:text name="firstName"/>:</span>
	<s:property value="firstName"/>
	<s:if test="#firstName==null">
		<br/>
	</s:if>
</p>
<p>
	<span class="label"><s:text name="lastName"/>:</span>
	<s:property value="lastName"/>
	<s:if test="#lastName==null">
		<br/>
	</s:if>
</p>
<p>
	<span class="label"><s:text name="email"/>:</span>
	<s:property value="email"/>
	<s:if test="#email==null">
		<br/>
	</s:if>
</p>
<p>
	<span class="label"><s:text name="gender"/>:</span>
	<s:property value="gender"/>
	<s:if test="#gender==null">
		<br/>
	</s:if>
</p>
<p>
	<span class="label"><s:text name="birthday"/>:</span>
  	<s:property value="birthday"/>
  	<s:if test="#birthday==null">
		<br/>
	</s:if>
</p>
</div>